[INFO] cloning repository https://github.com/dibakarsutradhar/rust-tenant-provisioning-cloudflare
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dibakarsutradhar/rust-tenant-provisioning-cloudflare" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdibakarsutradhar%2Frust-tenant-provisioning-cloudflare", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdibakarsutradhar%2Frust-tenant-provisioning-cloudflare'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb1031845405064895209be9cc57cb05242816fa
[INFO] fixing dibakarsutradhar/rust-tenant-provisioning-cloudflare against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdibakarsutradhar%2Frust-tenant-provisioning-cloudflare" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dibakarsutradhar/rust-tenant-provisioning-cloudflare
[INFO] finished tweaking git repo https://github.com/dibakarsutradhar/rust-tenant-provisioning-cloudflare
[INFO] tweaked toml for git repo https://github.com/dibakarsutradhar/rust-tenant-provisioning-cloudflare written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dibakarsutradhar/rust-tenant-provisioning-cloudflare on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dibakarsutradhar/rust-tenant-provisioning-cloudflare already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crc-catalog v2.5.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.70
[INFO] [stderr]   Downloaded bcrypt v0.15.1
[INFO] [stderr]   Downloaded openssl-sys v0.9.115
[INFO] [stderr]   Downloaded blowfish v0.9.1
[INFO] [stderr]   Downloaded openssl v0.10.79
[INFO] [stderr]   Downloaded web-sys v0.3.97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fb359c1b6b6367ae17f85f55ff5b3e0005ba77dd181fd2431eee87258d67b62d
[INFO] running `Command { std: "docker" "start" "fb359c1b6b6367ae17f85f55ff5b3e0005ba77dd181fd2431eee87258d67b62d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fb359c1b6b6367ae17f85f55ff5b3e0005ba77dd181fd2431eee87258d67b62d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb359c1b6b6367ae17f85f55ff5b3e0005ba77dd181fd2431eee87258d67b62d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fb359c1b6b6367ae17f85f55ff5b3e0005ba77dd181fd2431eee87258d67b62d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.79
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling openssl-sys v0.9.115
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling tokio v1.52.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking whoami v1.6.1
[INFO] [stderr]     Checking home v0.5.12
[INFO] [stderr]     Checking simple_asn1 v0.6.4
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking anyhow v1.0.102
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking garageos-multi-tenant-deployment-mvp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:8:15
[INFO] [stdout]    |
[INFO] [stdout]  8 |       let row = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout]  9 | |         "SELECT id FROM tenants WHERE subdomain = $1 AND status = 'active'",
[INFO] [stdout] 10 | |         subdomain
[INFO] [stdout] 11 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     sqlx::query_scalar!(
[INFO] [stdout] 23 | |         "SELECT tenant_id FROM custom_domains WHERE domain = $1 AND status = 'active'",
[INFO] [stdout] 24 | |         domain
[INFO] [stdout] 25 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |       let id = sqlx::query_scalar!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 36 | |         "INSERT INTO tenants (subdomain, company, status)
[INFO] [stdout] 37 | |          VALUES ($1, $2, 'pending')
[INFO] [stdout] 38 | |          RETURNING id",
[INFO] [stdout] 39 | |         subdomain,
[INFO] [stdout] 40 | |         company,
[INFO] [stdout] 41 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |       let id = sqlx::query_scalar!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 55 | |         "INSERT INTO users (tenant_id, email, password_hash, role)
[INFO] [stdout] 56 | |          VALUES ($1, $2, $3, 'owner')
[INFO] [stdout] 57 | |          RETURNING id",
[INFO] [stdout] ...  |
[INFO] [stdout] 60 | |         password_hash,
[INFO] [stdout] 61 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | /     sqlx::query!(
[INFO] [stdout] 70 | |         "UPDATE tenants SET status = 'active' WHERE id = $1",
[INFO] [stdout] 71 | |         tenant_id
[INFO] [stdout] 72 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | /     sqlx::query!(
[INFO] [stdout] 81 | |         "UPDATE tenants SET status = 'failed' WHERE id = $1",
[INFO] [stdout] 82 | |         tenant_id
[INFO] [stdout] 83 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/auth.rs:121:16
[INFO] [stdout]     |
[INFO] [stdout] 121 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 122 | |         "SELECT u.id, u.tenant_id, u.password_hash, u.role
[INFO] [stdout] 123 | |          FROM users u
[INFO] [stdout] 124 | |          JOIN tenants t ON t.id = u.tenant_id
[INFO] [stdout] 125 | |          WHERE u.email = $1 AND t.status = 'active'",
[INFO] [stdout] 126 | |         body.email,
[INFO] [stdout] 127 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/auth.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 170 | /     sqlx::query!(
[INFO] [stdout] 171 | |         "INSERT INTO sessions (tenant_id, user_id, ip, country, city, user_agent, browser, os, device, cf_ray)
[INFO] [stdout] 172 | |          VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)",
[INFO] [stdout] 173 | |         user.tenant_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 182 | |         cf_ray,
[INFO] [stdout] 183 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/auth.rs:268:19
[INFO] [stdout]     |
[INFO] [stdout] 268 |       let session = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 269 | |         SessionInfo,
[INFO] [stdout] 270 | |         "SELECT ip, country, city, browser, os, device, cf_ray, created_at
[INFO] [stdout] 271 | |          FROM sessions
[INFO] [stdout] ...   |
[INFO] [stdout] 275 | |         claims.sub,
[INFO] [stdout] 276 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/domains.rs:90:19
[INFO] [stdout]    |
[INFO] [stdout] 90 |       let domains = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 91 | |         "SELECT id, domain, status FROM custom_domains
[INFO] [stdout] 92 | |          WHERE tenant_id = $1
[INFO] [stdout] 93 | |          ORDER BY created_at DESC",
[INFO] [stdout] 94 | |         ctx.tenant_id
[INFO] [stdout] 95 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:126:15
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 127 | |         "SELECT status, ownership_txt_name, ownership_txt_value, domain
[INFO] [stdout] 128 | |          FROM custom_domains WHERE id = $1",
[INFO] [stdout] 129 | |         domain_id
[INFO] [stdout] 130 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:255:20
[INFO] [stdout]     |
[INFO] [stdout] 255 |       let response = sqlx::query_scalar!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 256 | |         "SELECT response FROM acme_challenges WHERE token = $1",
[INFO] [stdout] 257 | |         token
[INFO] [stdout] 258 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:272:18
[INFO] [stdout]     |
[INFO] [stdout] 272 |       let exists = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 273 | |         "SELECT COUNT(*) FROM custom_domains
[INFO] [stdout] 274 | |          WHERE id = $1 AND tenant_id = $2",
[INFO] [stdout] 275 | |         domain_id,
[INFO] [stdout] 276 | |         ctx.tenant_id,
[INFO] [stdout] 277 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:287:18
[INFO] [stdout]     |
[INFO] [stdout] 287 |     let domain = sqlx::query_scalar!("SELECT domain FROM custom_domains WHERE id = $1", domain_id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:291:5
[INFO] [stdout]     |
[INFO] [stdout] 291 | /     sqlx::query!(
[INFO] [stdout] 292 | |         "DELETE FROM kv_cache WHERE key = $1",
[INFO] [stdout] 293 | |         format!("custom:{domain}")
[INFO] [stdout] 294 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:299:5
[INFO] [stdout]     |
[INFO] [stdout] 299 | /     sqlx::query!(
[INFO] [stdout] 300 | |         "UPDATE tenants SET primary_domain = NULL
[INFO] [stdout] 301 | |          WHERE id = $1 AND primary_domain = $2",
[INFO] [stdout] 302 | |         ctx.tenant_id,
[INFO] [stdout] 303 | |         domain,
[INFO] [stdout] 304 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:311:5
[INFO] [stdout]     |
[INFO] [stdout] 311 |     sqlx::query!("DELETE FROM custom_domains WHERE id = $1", domain_id)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:328:15
[INFO] [stdout]     |
[INFO] [stdout] 328 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 329 | |         "SELECT domain, status, cf_hostname_id FROM custom_domains
[INFO] [stdout] 330 | |          WHERE id = $1 AND tenant_id = $2",
[INFO] [stdout] 331 | |         domain_id,
[INFO] [stdout] 332 | |         ctx.tenant_id,
[INFO] [stdout] 333 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 | /         sqlx::query!(
[INFO] [stdout] 358 | |             "UPDATE custom_domains SET status = 'pending' WHERE id = $1",
[INFO] [stdout] 359 | |             domain_id
[INFO] [stdout] 360 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:386:15
[INFO] [stdout]     |
[INFO] [stdout] 386 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 387 | |         "SELECT id, domain, status, cf_hostname_id,
[INFO] [stdout] 388 | |                 ownership_txt_name, ownership_txt_value, created_at
[INFO] [stdout] 389 | |          FROM custom_domains
[INFO] [stdout] ...   |
[INFO] [stdout] 392 | |         ctx.tenant_id,
[INFO] [stdout] 393 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:445:29
[INFO] [stdout]     |
[INFO] [stdout] 445 | / ...                   sqlx::query!(
[INFO] [stdout] 446 | | ...                       "INSERT INTO acme_challenges (token, response)
[INFO] [stdout] 447 | | ...                        VALUES ($1, $2)
[INFO] [stdout] 448 | | ...                        ON CONFLICT (token) DO UPDATE SET response = EXCLUDED.response",
[INFO] [stdout] 449 | | ...                       token_str,
[INFO] [stdout] 450 | | ...                       http_body,
[INFO] [stdout] 451 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:458:38
[INFO] [stdout]     |
[INFO] [stdout] 458 |                           let served = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 459 | |                             "SELECT COUNT(*) FROM acme_challenges WHERE token = $1",
[INFO] [stdout] 460 | |                             token_str,
[INFO] [stdout] 461 | |                         )
[INFO] [stdout]     | |_________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/health.rs:50:31
[INFO] [stdout]    |
[INFO] [stdout] 50 |                   let primary = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 51 | |                     "SELECT primary_domain FROM tenants WHERE id = $1",
[INFO] [stdout] 52 | |                     tenant_id
[INFO] [stdout] 53 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/health.rs:120:31
[INFO] [stdout]     |
[INFO] [stdout] 120 |                   let primary = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 121 | |                     "SELECT primary_domain FROM tenants WHERE id = $1",
[INFO] [stdout] 122 | |                     tenant_id
[INFO] [stdout] 123 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/provisioning.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let current = sqlx::query_scalar!("SELECT status FROM tenants WHERE id = $1", tenant_id)
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/provisioning.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 sqlx::query_scalar!("SELECT subdomain FROM tenants WHERE id = $1", tenant_id)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/middleware/tenant.rs:136:18
[INFO] [stdout]     |
[INFO] [stdout] 136 |       let result = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 137 | |         "SELECT primary_domain FROM tenants WHERE id = $1",
[INFO] [stdout] 138 | |         tenant_id
[INFO] [stdout] 139 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/custom_domain.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |       let exists = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 15 | |         "SELECT COUNT(*) FROM custom_domains WHERE domain = $1",
[INFO] [stdout] 16 | |         domain
[INFO] [stdout] 17 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/custom_domain.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let id = sqlx::query_scalar!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 28 | |         "INSERT INTO custom_domains (tenant_id, domain, status)
[INFO] [stdout] 29 | |          VALUES ($1, $2, 'pending')
[INFO] [stdout] 30 | |          RETURNING id",
[INFO] [stdout] 31 | |         tenant_id,
[INFO] [stdout] 32 | |         domain,
[INFO] [stdout] 33 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/custom_domain.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 | /             sqlx::query!(
[INFO] [stdout] 68 | |                 "UPDATE custom_domains SET status = 'failed' WHERE id = $1",
[INFO] [stdout] 69 | |                 custom_domain_id
[INFO] [stdout] 70 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout]  99 | /     sqlx::query!(
[INFO] [stdout] 100 | |         "UPDATE custom_domains SET status = 'ssl_pending', cf_hostname_id = $1 WHERE id = $2",
[INFO] [stdout] 101 | |         cf_hostname_id,
[INFO] [stdout] 102 | |         custom_domain_id
[INFO] [stdout] 103 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:108:31
[INFO] [stdout]     |
[INFO] [stdout] 108 |       let ownership_txt_value = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 109 | |         "SELECT ownership_txt_value FROM custom_domains WHERE id = $1",
[INFO] [stdout] 110 | |         custom_domain_id
[INFO] [stdout] 111 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:116:30
[INFO] [stdout]     |
[INFO] [stdout] 116 |       let ownership_txt_name = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 117 | |         "SELECT ownership_txt_name FROM custom_domains WHERE id = $1",
[INFO] [stdout] 118 | |         custom_domain_id
[INFO] [stdout] 119 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 | /             sqlx::query!(
[INFO] [stdout] 140 | |                 "UPDATE custom_domains SET status = 'failed' WHERE id = $1",
[INFO] [stdout] 141 | |                 custom_domain_id
[INFO] [stdout] 142 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 | /             sqlx::query!(
[INFO] [stdout] 177 | |                 "UPDATE custom_domains SET status = 'failed' WHERE id = $1",
[INFO] [stdout] 178 | |                 custom_domain_id
[INFO] [stdout] 179 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:206:21
[INFO] [stdout]     |
[INFO] [stdout] 206 |       let tenant_id = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 207 | |         "SELECT tenant_id FROM custom_domains WHERE id = $1",
[INFO] [stdout] 208 | |         custom_domain_id
[INFO] [stdout] 209 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:213:5
[INFO] [stdout]     |
[INFO] [stdout] 213 | /     sqlx::query!(
[INFO] [stdout] 214 | |         "INSERT INTO kv_cache (key, value, expires_at)
[INFO] [stdout] 215 | |          VALUES ($1, $2, now() + interval '24 hours')
[INFO] [stdout] 216 | |          ON CONFLICT (key) DO UPDATE
[INFO] [stdout] ...   |
[INFO] [stdout] 219 | |         tenant_id.to_string(),
[INFO] [stdout] 220 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 224 | /     sqlx::query!(
[INFO] [stdout] 225 | |         "UPDATE custom_domains SET status = 'active' WHERE id = $1",
[INFO] [stdout] 226 | |         custom_domain_id
[INFO] [stdout] 227 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:236:5
[INFO] [stdout]     |
[INFO] [stdout] 236 | /     sqlx::query!(
[INFO] [stdout] 237 | |         "UPDATE tenants SET primary_domain = $1 WHERE id = $2",
[INFO] [stdout] 238 | |         domain,
[INFO] [stdout] 239 | |         tenant_id,
[INFO] [stdout] 240 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:420:9
[INFO] [stdout]     |
[INFO] [stdout] 420 | /         sqlx::query!(
[INFO] [stdout] 421 | |             "UPDATE custom_domains 
[INFO] [stdout] 422 | |              SET ownership_txt_name = $1, ownership_txt_value = $2 
[INFO] [stdout] 423 | |              WHERE id = $3",
[INFO] [stdout] ...   |
[INFO] [stdout] 426 | |             custom_domain_id,
[INFO] [stdout] 427 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:443:9
[INFO] [stdout]     |
[INFO] [stdout] 443 | /         sqlx::query!(
[INFO] [stdout] 444 | |             "INSERT INTO acme_challenges (token, response)
[INFO] [stdout] 445 | |              VALUES ($1, $2)
[INFO] [stdout] 446 | |              ON CONFLICT (token) DO UPDATE SET response = EXCLUDED.response",
[INFO] [stdout] 447 | |             id, // the CF hostname id is the token in the URL
[INFO] [stdout] 448 | |             http_challenge_body,
[INFO] [stdout] 449 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:517:21
[INFO] [stdout]     |
[INFO] [stdout] 517 | /                     sqlx::query!(
[INFO] [stdout] 518 | |                         "INSERT INTO acme_challenges (token, response)
[INFO] [stdout] 519 | |                          VALUES ($1, $2)
[INFO] [stdout] 520 | |                          ON CONFLICT (token) DO UPDATE SET response = EXCLUDED.response",
[INFO] [stdout] 521 | |                         token_str,
[INFO] [stdout] 522 | |                         http_body,
[INFO] [stdout] 523 | |                     )
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:576:9
[INFO] [stdout]     |
[INFO] [stdout] 576 | /         sqlx::query!(
[INFO] [stdout] 577 | |             "UPDATE custom_domains
[INFO] [stdout] 578 | |              SET ownership_txt_name = $1, ownership_txt_value = $2
[INFO] [stdout] 579 | |              WHERE id = $3",
[INFO] [stdout] ...   |
[INFO] [stdout] 582 | |             custom_domain_id,
[INFO] [stdout] 583 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:588:9
[INFO] [stdout]     |
[INFO] [stdout] 588 | /         sqlx::query!(
[INFO] [stdout] 589 | |             "INSERT INTO acme_challenges (token, response)
[INFO] [stdout] 590 | |              VALUES ($1, $2)
[INFO] [stdout] 591 | |              ON CONFLICT (token) DO UPDATE SET response = EXCLUDED.response",
[INFO] [stdout] 592 | |             cf_hostname_id,
[INFO] [stdout] 593 | |             cf_hostname_challenge_body,
[INFO] [stdout] 594 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:601:9
[INFO] [stdout]     |
[INFO] [stdout] 601 | /         sqlx::query!(
[INFO] [stdout] 602 | |             "SELECT pg_notify($1, $2)",
[INFO] [stdout] 603 | |             channel,
[INFO] [stdout] 604 | |             format!("records:{ownership_txt_name}={ownership_txt_value}"),
[INFO] [stdout] 605 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:619:5
[INFO] [stdout]     |
[INFO] [stdout] 619 |     sqlx::query!("SELECT pg_notify($1, $2)", channel, payload,)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/provisioning.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     sqlx::query!(
[INFO] [stdout] 38 | |         "INSERT INTO kv_cache (key, value, expires_at)
[INFO] [stdout] 39 | |          VALUES ($1, $2, now() + interval '24 hours')
[INFO] [stdout] 40 | |          ON CONFLICT (key) DO UPDATE
[INFO] [stdout] ...  |
[INFO] [stdout] 43 | |         tenant_id.to_string(),
[INFO] [stdout] 44 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/provisioning.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     sqlx::query!(
[INFO] [stdout] 57 | |         "SELECT pg_notify($1, $2)",
[INFO] [stdout] 58 | |         channel,
[INFO] [stdout] 59 | |         format!("done:{subdomain}"),
[INFO] [stdout] 60 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:8:15
[INFO] [stdout]    |
[INFO] [stdout]  8 |       let row = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout]  9 | |         "SELECT id FROM tenants WHERE subdomain = $1 AND status = 'active'",
[INFO] [stdout] 10 | |         subdomain
[INFO] [stdout] 11 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     sqlx::query_scalar!(
[INFO] [stdout] 23 | |         "SELECT tenant_id FROM custom_domains WHERE domain = $1 AND status = 'active'",
[INFO] [stdout] 24 | |         domain
[INFO] [stdout] 25 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |       let id = sqlx::query_scalar!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 36 | |         "INSERT INTO tenants (subdomain, company, status)
[INFO] [stdout] 37 | |          VALUES ($1, $2, 'pending')
[INFO] [stdout] 38 | |          RETURNING id",
[INFO] [stdout] 39 | |         subdomain,
[INFO] [stdout] 40 | |         company,
[INFO] [stdout] 41 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |       let id = sqlx::query_scalar!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 55 | |         "INSERT INTO users (tenant_id, email, password_hash, role)
[INFO] [stdout] 56 | |          VALUES ($1, $2, $3, 'owner')
[INFO] [stdout] 57 | |          RETURNING id",
[INFO] [stdout] ...  |
[INFO] [stdout] 60 | |         password_hash,
[INFO] [stdout] 61 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | /     sqlx::query!(
[INFO] [stdout] 70 | |         "UPDATE tenants SET status = 'active' WHERE id = $1",
[INFO] [stdout] 71 | |         tenant_id
[INFO] [stdout] 72 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/db/mod.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | /     sqlx::query!(
[INFO] [stdout] 81 | |         "UPDATE tenants SET status = 'failed' WHERE id = $1",
[INFO] [stdout] 82 | |         tenant_id
[INFO] [stdout] 83 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/auth.rs:121:16
[INFO] [stdout]     |
[INFO] [stdout] 121 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 122 | |         "SELECT u.id, u.tenant_id, u.password_hash, u.role
[INFO] [stdout] 123 | |          FROM users u
[INFO] [stdout] 124 | |          JOIN tenants t ON t.id = u.tenant_id
[INFO] [stdout] 125 | |          WHERE u.email = $1 AND t.status = 'active'",
[INFO] [stdout] 126 | |         body.email,
[INFO] [stdout] 127 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/auth.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 170 | /     sqlx::query!(
[INFO] [stdout] 171 | |         "INSERT INTO sessions (tenant_id, user_id, ip, country, city, user_agent, browser, os, device, cf_ray)
[INFO] [stdout] 172 | |          VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)",
[INFO] [stdout] 173 | |         user.tenant_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 182 | |         cf_ray,
[INFO] [stdout] 183 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/auth.rs:268:19
[INFO] [stdout]     |
[INFO] [stdout] 268 |       let session = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 269 | |         SessionInfo,
[INFO] [stdout] 270 | |         "SELECT ip, country, city, browser, os, device, cf_ray, created_at
[INFO] [stdout] 271 | |          FROM sessions
[INFO] [stdout] ...   |
[INFO] [stdout] 275 | |         claims.sub,
[INFO] [stdout] 276 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/domains.rs:90:19
[INFO] [stdout]    |
[INFO] [stdout] 90 |       let domains = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 91 | |         "SELECT id, domain, status FROM custom_domains
[INFO] [stdout] 92 | |          WHERE tenant_id = $1
[INFO] [stdout] 93 | |          ORDER BY created_at DESC",
[INFO] [stdout] 94 | |         ctx.tenant_id
[INFO] [stdout] 95 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:126:15
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 127 | |         "SELECT status, ownership_txt_name, ownership_txt_value, domain
[INFO] [stdout] 128 | |          FROM custom_domains WHERE id = $1",
[INFO] [stdout] 129 | |         domain_id
[INFO] [stdout] 130 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:255:20
[INFO] [stdout]     |
[INFO] [stdout] 255 |       let response = sqlx::query_scalar!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 256 | |         "SELECT response FROM acme_challenges WHERE token = $1",
[INFO] [stdout] 257 | |         token
[INFO] [stdout] 258 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:272:18
[INFO] [stdout]     |
[INFO] [stdout] 272 |       let exists = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 273 | |         "SELECT COUNT(*) FROM custom_domains
[INFO] [stdout] 274 | |          WHERE id = $1 AND tenant_id = $2",
[INFO] [stdout] 275 | |         domain_id,
[INFO] [stdout] 276 | |         ctx.tenant_id,
[INFO] [stdout] 277 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:287:18
[INFO] [stdout]     |
[INFO] [stdout] 287 |     let domain = sqlx::query_scalar!("SELECT domain FROM custom_domains WHERE id = $1", domain_id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:291:5
[INFO] [stdout]     |
[INFO] [stdout] 291 | /     sqlx::query!(
[INFO] [stdout] 292 | |         "DELETE FROM kv_cache WHERE key = $1",
[INFO] [stdout] 293 | |         format!("custom:{domain}")
[INFO] [stdout] 294 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:299:5
[INFO] [stdout]     |
[INFO] [stdout] 299 | /     sqlx::query!(
[INFO] [stdout] 300 | |         "UPDATE tenants SET primary_domain = NULL
[INFO] [stdout] 301 | |          WHERE id = $1 AND primary_domain = $2",
[INFO] [stdout] 302 | |         ctx.tenant_id,
[INFO] [stdout] 303 | |         domain,
[INFO] [stdout] 304 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:311:5
[INFO] [stdout]     |
[INFO] [stdout] 311 |     sqlx::query!("DELETE FROM custom_domains WHERE id = $1", domain_id)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:328:15
[INFO] [stdout]     |
[INFO] [stdout] 328 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 329 | |         "SELECT domain, status, cf_hostname_id FROM custom_domains
[INFO] [stdout] 330 | |          WHERE id = $1 AND tenant_id = $2",
[INFO] [stdout] 331 | |         domain_id,
[INFO] [stdout] 332 | |         ctx.tenant_id,
[INFO] [stdout] 333 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 | /         sqlx::query!(
[INFO] [stdout] 358 | |             "UPDATE custom_domains SET status = 'pending' WHERE id = $1",
[INFO] [stdout] 359 | |             domain_id
[INFO] [stdout] 360 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:386:15
[INFO] [stdout]     |
[INFO] [stdout] 386 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 387 | |         "SELECT id, domain, status, cf_hostname_id,
[INFO] [stdout] 388 | |                 ownership_txt_name, ownership_txt_value, created_at
[INFO] [stdout] 389 | |          FROM custom_domains
[INFO] [stdout] ...   |
[INFO] [stdout] 392 | |         ctx.tenant_id,
[INFO] [stdout] 393 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:445:29
[INFO] [stdout]     |
[INFO] [stdout] 445 | / ...                   sqlx::query!(
[INFO] [stdout] 446 | | ...                       "INSERT INTO acme_challenges (token, response)
[INFO] [stdout] 447 | | ...                        VALUES ($1, $2)
[INFO] [stdout] 448 | | ...                        ON CONFLICT (token) DO UPDATE SET response = EXCLUDED.response",
[INFO] [stdout] 449 | | ...                       token_str,
[INFO] [stdout] 450 | | ...                       http_body,
[INFO] [stdout] 451 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/domains.rs:458:38
[INFO] [stdout]     |
[INFO] [stdout] 458 |                           let served = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 459 | |                             "SELECT COUNT(*) FROM acme_challenges WHERE token = $1",
[INFO] [stdout] 460 | |                             token_str,
[INFO] [stdout] 461 | |                         )
[INFO] [stdout]     | |_________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/health.rs:50:31
[INFO] [stdout]    |
[INFO] [stdout] 50 |                   let primary = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 51 | |                     "SELECT primary_domain FROM tenants WHERE id = $1",
[INFO] [stdout] 52 | |                     tenant_id
[INFO] [stdout] 53 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/health.rs:120:31
[INFO] [stdout]     |
[INFO] [stdout] 120 |                   let primary = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 121 | |                     "SELECT primary_domain FROM tenants WHERE id = $1",
[INFO] [stdout] 122 | |                     tenant_id
[INFO] [stdout] 123 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/provisioning.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let current = sqlx::query_scalar!("SELECT status FROM tenants WHERE id = $1", tenant_id)
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/provisioning.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 sqlx::query_scalar!("SELECT subdomain FROM tenants WHERE id = $1", tenant_id)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/middleware/tenant.rs:136:18
[INFO] [stdout]     |
[INFO] [stdout] 136 |       let result = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 137 | |         "SELECT primary_domain FROM tenants WHERE id = $1",
[INFO] [stdout] 138 | |         tenant_id
[INFO] [stdout] 139 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/custom_domain.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |       let exists = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 15 | |         "SELECT COUNT(*) FROM custom_domains WHERE domain = $1",
[INFO] [stdout] 16 | |         domain
[INFO] [stdout] 17 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/custom_domain.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let id = sqlx::query_scalar!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 28 | |         "INSERT INTO custom_domains (tenant_id, domain, status)
[INFO] [stdout] 29 | |          VALUES ($1, $2, 'pending')
[INFO] [stdout] 30 | |          RETURNING id",
[INFO] [stdout] 31 | |         tenant_id,
[INFO] [stdout] 32 | |         domain,
[INFO] [stdout] 33 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/custom_domain.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 | /             sqlx::query!(
[INFO] [stdout] 68 | |                 "UPDATE custom_domains SET status = 'failed' WHERE id = $1",
[INFO] [stdout] 69 | |                 custom_domain_id
[INFO] [stdout] 70 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout]  99 | /     sqlx::query!(
[INFO] [stdout] 100 | |         "UPDATE custom_domains SET status = 'ssl_pending', cf_hostname_id = $1 WHERE id = $2",
[INFO] [stdout] 101 | |         cf_hostname_id,
[INFO] [stdout] 102 | |         custom_domain_id
[INFO] [stdout] 103 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:108:31
[INFO] [stdout]     |
[INFO] [stdout] 108 |       let ownership_txt_value = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 109 | |         "SELECT ownership_txt_value FROM custom_domains WHERE id = $1",
[INFO] [stdout] 110 | |         custom_domain_id
[INFO] [stdout] 111 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:116:30
[INFO] [stdout]     |
[INFO] [stdout] 116 |       let ownership_txt_name = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 117 | |         "SELECT ownership_txt_name FROM custom_domains WHERE id = $1",
[INFO] [stdout] 118 | |         custom_domain_id
[INFO] [stdout] 119 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 | /             sqlx::query!(
[INFO] [stdout] 140 | |                 "UPDATE custom_domains SET status = 'failed' WHERE id = $1",
[INFO] [stdout] 141 | |                 custom_domain_id
[INFO] [stdout] 142 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 | /             sqlx::query!(
[INFO] [stdout] 177 | |                 "UPDATE custom_domains SET status = 'failed' WHERE id = $1",
[INFO] [stdout] 178 | |                 custom_domain_id
[INFO] [stdout] 179 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:206:21
[INFO] [stdout]     |
[INFO] [stdout] 206 |       let tenant_id = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 207 | |         "SELECT tenant_id FROM custom_domains WHERE id = $1",
[INFO] [stdout] 208 | |         custom_domain_id
[INFO] [stdout] 209 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:213:5
[INFO] [stdout]     |
[INFO] [stdout] 213 | /     sqlx::query!(
[INFO] [stdout] 214 | |         "INSERT INTO kv_cache (key, value, expires_at)
[INFO] [stdout] 215 | |          VALUES ($1, $2, now() + interval '24 hours')
[INFO] [stdout] 216 | |          ON CONFLICT (key) DO UPDATE
[INFO] [stdout] ...   |
[INFO] [stdout] 219 | |         tenant_id.to_string(),
[INFO] [stdout] 220 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 224 | /     sqlx::query!(
[INFO] [stdout] 225 | |         "UPDATE custom_domains SET status = 'active' WHERE id = $1",
[INFO] [stdout] 226 | |         custom_domain_id
[INFO] [stdout] 227 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:236:5
[INFO] [stdout]     |
[INFO] [stdout] 236 | /     sqlx::query!(
[INFO] [stdout] 237 | |         "UPDATE tenants SET primary_domain = $1 WHERE id = $2",
[INFO] [stdout] 238 | |         domain,
[INFO] [stdout] 239 | |         tenant_id,
[INFO] [stdout] 240 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:420:9
[INFO] [stdout]     |
[INFO] [stdout] 420 | /         sqlx::query!(
[INFO] [stdout] 421 | |             "UPDATE custom_domains 
[INFO] [stdout] 422 | |              SET ownership_txt_name = $1, ownership_txt_value = $2 
[INFO] [stdout] 423 | |              WHERE id = $3",
[INFO] [stdout] ...   |
[INFO] [stdout] 426 | |             custom_domain_id,
[INFO] [stdout] 427 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:443:9
[INFO] [stdout]     |
[INFO] [stdout] 443 | /         sqlx::query!(
[INFO] [stdout] 444 | |             "INSERT INTO acme_challenges (token, response)
[INFO] [stdout] 445 | |              VALUES ($1, $2)
[INFO] [stdout] 446 | |              ON CONFLICT (token) DO UPDATE SET response = EXCLUDED.response",
[INFO] [stdout] 447 | |             id, // the CF hostname id is the token in the URL
[INFO] [stdout] 448 | |             http_challenge_body,
[INFO] [stdout] 449 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:517:21
[INFO] [stdout]     |
[INFO] [stdout] 517 | /                     sqlx::query!(
[INFO] [stdout] 518 | |                         "INSERT INTO acme_challenges (token, response)
[INFO] [stdout] 519 | |                          VALUES ($1, $2)
[INFO] [stdout] 520 | |                          ON CONFLICT (token) DO UPDATE SET response = EXCLUDED.response",
[INFO] [stdout] 521 | |                         token_str,
[INFO] [stdout] 522 | |                         http_body,
[INFO] [stdout] 523 | |                     )
[INFO] [stdout]     | |_____________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:576:9
[INFO] [stdout]     |
[INFO] [stdout] 576 | /         sqlx::query!(
[INFO] [stdout] 577 | |             "UPDATE custom_domains
[INFO] [stdout] 578 | |              SET ownership_txt_name = $1, ownership_txt_value = $2
[INFO] [stdout] 579 | |              WHERE id = $3",
[INFO] [stdout] ...   |
[INFO] [stdout] 582 | |             custom_domain_id,
[INFO] [stdout] 583 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:588:9
[INFO] [stdout]     |
[INFO] [stdout] 588 | /         sqlx::query!(
[INFO] [stdout] 589 | |             "INSERT INTO acme_challenges (token, response)
[INFO] [stdout] 590 | |              VALUES ($1, $2)
[INFO] [stdout] 591 | |              ON CONFLICT (token) DO UPDATE SET response = EXCLUDED.response",
[INFO] [stdout] 592 | |             cf_hostname_id,
[INFO] [stdout] 593 | |             cf_hostname_challenge_body,
[INFO] [stdout] 594 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:601:9
[INFO] [stdout]     |
[INFO] [stdout] 601 | /         sqlx::query!(
[INFO] [stdout] 602 | |             "SELECT pg_notify($1, $2)",
[INFO] [stdout] 603 | |             channel,
[INFO] [stdout] 604 | |             format!("records:{ownership_txt_name}={ownership_txt_value}"),
[INFO] [stdout] 605 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/services/custom_domain.rs:619:5
[INFO] [stdout]     |
[INFO] [stdout] 619 |     sqlx::query!("SELECT pg_notify($1, $2)", channel, payload,)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/provisioning.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     sqlx::query!(
[INFO] [stdout] 38 | |         "INSERT INTO kv_cache (key, value, expires_at)
[INFO] [stdout] 39 | |          VALUES ($1, $2, now() + interval '24 hours')
[INFO] [stdout] 40 | |          ON CONFLICT (key) DO UPDATE
[INFO] [stdout] ...  |
[INFO] [stdout] 43 | |         tenant_id.to_string(),
[INFO] [stdout] 44 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/services/provisioning.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     sqlx::query!(
[INFO] [stdout] 57 | |         "SELECT pg_notify($1, $2)",
[INFO] [stdout] 58 | |         channel,
[INFO] [stdout] 59 | |         format!("done:{subdomain}"),
[INFO] [stdout] 60 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `garageos-multi-tenant-deployment-mvp` (bin "garageos-multi-tenant-deployment-mvp" test) due to 48 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `garageos-multi-tenant-deployment-mvp` (bin "garageos-multi-tenant-deployment-mvp") due to 48 previous errors
[INFO] running `Command { std: "docker" "inspect" "fb359c1b6b6367ae17f85f55ff5b3e0005ba77dd181fd2431eee87258d67b62d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb359c1b6b6367ae17f85f55ff5b3e0005ba77dd181fd2431eee87258d67b62d", kill_on_drop: false }`
[INFO] [stdout] fb359c1b6b6367ae17f85f55ff5b3e0005ba77dd181fd2431eee87258d67b62d
